This works: |
Re: Syntax to make #include file work?? #include <c://some//path//here//include_file.dxl> Regards, Strathglass |
Re: Syntax to make #include file work?? strathglass - Thu Apr 02 11:02:56 EDT 2009 For local paths, do #include "filepath". AAI Services, Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
Re: Syntax to make #include file work?? Note that you can use incomplete paths that are relative to your install-DXL directory. These two both work: #include <C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\config\baseWindowCallbacks.inc> #include <config\baseWindowCallbacks.inc>
#include <c:\Doors-Stuff\DXL-Local\Includes\Lib-Version.inc> #include <Includes\Lib-Version.inc>
#include "Includes\Lib-Version.inc" // This fails #include "Includes\\Lib-Version.inc" // This works.
|
Re: Syntax to make #include file work?? llandale - Thu Apr 02 14:28:08 EDT 2009 Note that you can use incomplete paths that are relative to your install-DXL directory. These two both work: #include <C:\Program Files\Telelogic\DOORS_8.1\lib\dxl\config\baseWindowCallbacks.inc> #include <config\baseWindowCallbacks.inc>
#include <c:\Doors-Stuff\DXL-Local\Includes\Lib-Version.inc> #include <Includes\Lib-Version.inc>
#include "Includes\Lib-Version.inc" // This fails #include "Includes\\Lib-Version.inc" // This works.
Regards, Strathglass. |
Re: Syntax to make #include file work??
-E- DXL: <d:\addin\ExcelFunctions.inc:9> could not open include file (ole.inc) (No such file or directory)
After including the file i have this error. Could anybody help me how to fix this error ? Thanks Regards, Salo
|
Re: Syntax to make #include file work?? Salo33 - Fri May 27 13:23:15 EDT 2016
-E- DXL: <d:\addin\ExcelFunctions.inc:9> could not open include file (ole.inc) (No such file or directory)
After including the file i have this error. Could anybody help me how to fix this error ? Thanks Regards, Salo
What does your source code include line look like? Looks like you probably have that wrong, but need to see it to know what is happening. Also is env variable "addins" defined? If so, as what? |
Re: Syntax to make #include file work?? This is my source code for including files #include <D:\addin\ExcelFunctions.inc> #include <D:\addin\ole.inc>
Also I have no env variable "addins" defined.
|
Re: Syntax to make #include file work?? Salo33 - Wed Jun 01 06:49:28 EDT 2016 This is my source code for including files #include <D:\addin\ExcelFunctions.inc> #include <D:\addin\ole.inc>
Also I have no env variable "addins" defined.
Works fine for me. Of course you need to have those two files existing...do you includce files existing as per: D:\addin\ExcelFunctions.inc and... D:\addin\ole.inc ? If not, of course it won't work! As Louie has noted, to include DOORS-provided include files, you can use relative paths: #include <utils\ole.inc> |
Re: Syntax to make #include file work?? Yes sure my files are exisiting in the directory addin. But I dont know why I have this error.
-E- DXL: <D:/addin/ExcelFunctions.inc:9> could not open include file (ole.inc) (No such file or directory)
|
Re: Syntax to make #include file work?? Salo33 - Wed Jun 01 07:15:06 EDT 2016 Yes sure my files are exisiting in the directory addin. But I dont know why I have this error.
-E- DXL: <D:/addin/ExcelFunctions.inc:9> could not open include file (ole.inc) (No such file or directory)
Looking at the error message, looks like ExcelFunctions.inc line 9 has an include file (ole.inc) that can't be found: what is line 9 in ExcelFunctions.inc say exactly? |
Re: Syntax to make #include file work?? strathglass - Wed Jun 01 08:00:59 EDT 2016 Looking at the error message, looks like ExcelFunctions.inc line 9 has an include file (ole.inc) that can't be found: what is line 9 in ExcelFunctions.inc say exactly? Thank you very much you are right. I did not include that (ole.inc) file. Now it works fine when I include it. Thanks |